--游戏服务器 区服

require "framework.init"

local function loadcsv()
    local _load = z9.csv.load
    local d = {}
    d.a = _load("./configs/csv/RechardCard.csv")
    return d
end

App = z9.app:new()
App.csvdata = loadcsv()

local tcpserver = App:newTcpServer(config.server_ip, 9004)
z9.log.Info("--- 创建一个TcpServer: " .. config.server_ip ..":" .. 9004)
App:newRedisConn(config.redis_ip, config.redis_port)


App:start()

